package cn.dong.statistics.feign;

import cn.dong.api.domain.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-edu8000")
@Service
public interface CourseService {


    @GetMapping("/edu/course/getCourseOnlineByDay/{day}")
    CommonResult getCourseOnlineByDay(@PathVariable("day") String day);

}
